﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RXY_Mall.Services.Company.Dto
{
    /// <summary>
    /// 添加公司输入信息
    /// </summary>
    public class AddCompanyInput : MangerBaseInput
    {
        /// <summary>
        /// 公司编号
        /// </summary>
        [Required(ErrorMessage = "公司编号不能为空")]
        public string api_company_id { get; set; }
        /// <summary>
        /// 对接服务器编号
        /// </summary>
        [Required(ErrorMessage = "对接服务器编号不能为空")]
        public string api_server_id { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        [Required(ErrorMessage = "公司名称不能为空")]
        public string company_name { get; set; }
        /// <summary>
        /// 公司类型
        /// </summary>
        [Required(ErrorMessage = "公司类型不能为空")]
        public byte company_type { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [Required(ErrorMessage = "联系人不能为空")]
        public string contacts_name { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [Required(ErrorMessage = "联系电话不能为空")]
        public string contacts_phone { get; set; }
        /// <summary>
        /// 区域
        /// </summary>
        [Required(ErrorMessage = "区域不能为空")]
        public string area { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        [Required(ErrorMessage = "详细地址不能为空")]
        public string address { get; set; }
        /// <summary>
        /// 省级国标码
        /// </summary>
        [Required(ErrorMessage = "省级国标码不能为空")]
        public string province_code { get; set; }
        /// <summary>
        /// 市级国标码
        /// </summary>
        [Required(ErrorMessage = "市级国标码不能为空")]
        public string city_code { get; set; }
        /// <summary>
        /// 区级国标码
        /// </summary>
        [Required(ErrorMessage = "区级国标码不能为空")]
        public string country_code { get; set; }
        /// <summary>
        /// 组织机构代码
        /// </summary>
        public string organizing_bar { get; set; }
        /// <summary>
        /// 法人
        /// </summary>
        public string corporation { get; set; }
        /// <summary>
        /// 法人电话
        /// </summary>
        public string corporation_phone { get; set; }
        /// <summary>
        /// 业务范围
        /// </summary>
        public string business_scope { get; set; }

    }
}
